#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
    int a = 0, b = 0;
    scanf("%d %d", &a, &b);
    int c = 0;
    c = (a + b) % 100;
    printf("%d", c);
    return 0;
}